<script type="text/javascript" language="javascript" src="/gaf/js/common.js"></script>
<link rel="stylesheet" type="text/css" href="/gaf/css/base.css" />
<link rel="stylesheet" type="text/css" href="/gaf/css/common.css" />
<link rel="stylesheet" type="text/css" href="/gaf/css/table_def.css" />
<p><h4>线路管理/线路包含项目</h4></p>
<form action="/travel/travel/doadditems">
<input type="hidden" id="tvid" name="tvid" value="<?php echo $this->tvid;?>">
<table>
<tr><td>项目名称:<input type="text" id="itemname" name="itemname"/>
		项目价格:<input id="price" name="price"/>		
		项目类型:<select id="type" name="type">
				<option  value="0">自费项目</option>		
				<option  value="1">包含项目</option>			
		</select>
		</td></tr>
		<tr><td>
		</table>
		<div>
		<p>项目说明:</p>
		<p><textarea id="memo" name="memo" style="overflow:scroll;height:200;width:510"></textarea></p>
		</div>
		<p><input type="submit" value="添加项目"></p>
</form>
<?php require_once('views/msg.phtml');?>
<?php	echo $this->ArrayGrid($this->itemlist,$this->page,15,
		 		array('itemname'=>'项目名','price'=>'价格(元)','type'=>'类型','name'=>'线路名'),
				array(	
					'act_title' => '操作','act_key'=>'itemid',
		 			'act_list'  => array(
		 					array(
		 						'title'=>'修改',
		 						'url'=>'/travel/travel/edititem',
		 						),
		 					
		 					array(
		 						'title'=>'删除',
		 						'url'=>'/travel/travel/delitem/tvid/'.$this->tvid,
		 						),
		 			)
				),
				array(
					'type'=>array('0'=>'自费项目','1'=>'包含项目')
				)	
			 );